package com.wzy.oa_sys.model.response.notice;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
public class NoticeResp {
    @JsonProperty("id")
    private long id;
    @JsonProperty("type")
    private String type;
    @JsonProperty("state")
    private String state;
    @JsonProperty("title")
    private String title;
    @JsonProperty("desc")
    private String desc;
    @JsonProperty("releasetime")
    private LocalDateTime releasetime;
    @JsonProperty("releaseperson")
    private String releaseperson;
    @JsonProperty("userId")
    private long userId;
    @JsonProperty("dept")
    private String dept;
    @JsonProperty("recipient")
    private String recipient;
    @JsonProperty("reviewer")
    private String reviewer;
    @JsonProperty("reviewerId")
    private long reviewerId;
    @JsonProperty("examine")
    private String examine;
    @JsonProperty("exReason")
    private String exReason;
    @JsonProperty("isRead")
    private boolean isRead;
    @JsonProperty("linkId")
    private long linkId;
    @JsonProperty("linkType")
    private String linkType;

}
